#include "main.h"
#include "RM_Cilent_UI.h"
#include "string.h"
#include "user_task.h"


Graph_Data G1,G2,G3,G4,G5;
int user_d = 0;
void UserTask(void const * argument)
{
		memset(&G1,0,sizeof(G1));
		memset(&G2,0,sizeof(G2));
		memset(&G3,0,sizeof(G3));
		memset(&G4,0,sizeof(G4));
		memset(&G5,0,sizeof(G5));

    Line_Draw(&G1,"091",UI_Graph_ADD,9,UI_Color_Purplish_red,1,960,330,960,620);
		Line_Draw(&G2,"092",UI_Graph_ADD,9,UI_Color_Purplish_red,1,880,580,1040,580);
		Line_Draw(&G3,"093",UI_Graph_ADD,9,UI_Color_Purplish_red,1,800,540,1120,540);
		Line_Draw(&G4,"094",UI_Graph_ADD,9,UI_Color_Purplish_red,1,880,500,1040,500);
		Line_Draw(&G5,"095",UI_Graph_ADD,9,UI_Color_Purplish_red,1,900,420,1020,420);
		UI_ReFresh(5,G1,G2,G3,G4,G5);        //huizhituxiang                  
while(1)
 {
	 user_d++;
        HAL_Delay(700);
	  Circle_Draw(&G4,"004",UI_Graph_Change,9,UI_Color_Pink,8,700,700,100);
    UI_ReFresh(1,G4);
	 
        HAL_Delay(700);
    Circle_Draw(&G4,"004",UI_Graph_Change,9,UI_Color_Cyan,8,700,700,100);
    UI_ReFresh(1,G4);                                                 
 }
}

